package com.roads.site.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.roads.common.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * 劳务工进场实体
 *
 * @author nhp
 * @date 2022-11-10
 */
public class StaffEnterModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 身份证号
     */
    @Excel(name = "*身份证号")
    private String idNo;

    /**
     * 姓名
     */
    @Excel(name = "*姓名")
    private String name;

    /**
     * 进场日期
     */
    @Excel(name = "*进场日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date enterDate;

    /**
     * 施工队伍
     */
    @Excel(name = "*施工队伍")
    private String battalionName;

    /**
     * 施工班组
     */
    @Excel(name = "*施工班组")
    private String teamName;

    /**
     * 岗位工种
     */
    @Excel(name = "*岗位工种")
    private String postName;

    /**
     * 是否班组长 Y：是 N：否
     */
    @Excel(name = "*班组长", dictType = "sys_yes_no", readConverterExp = "Y=是,N=否")
    private String isMonitor;

    /**
     * 行数
     */
    private Integer row;

    /**
     * 人员ID
     */
    private Integer staffId;

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getEnterDate() {
        return enterDate;
    }

    public void setEnterDate(Date enterDate) {
        this.enterDate = enterDate;
    }

    public String getBattalionName() {
        return battalionName;
    }

    public void setBattalionName(String battalionName) {
        this.battalionName = battalionName;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getIsMonitor() {
        return isMonitor;
    }

    public void setIsMonitor(String isMonitor) {
        this.isMonitor = isMonitor;
    }

    public Integer getRow() {
        return row;
    }

    public void setRow(Integer row) {
        this.row = row;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }
}
